
import 'package:flutter/widgets.dart';

class MineLocalizations{
  bool isZh = false;

  MineLocalizations(this.isZh);

  //为了使用方便，我们定义一个静态方法
  static MineLocalizations of(BuildContext context) {
    return Localizations.of<MineLocalizations>(context, MineLocalizations)!;
  }
  
  String get title {
    return isZh ? "Flutter应用" : "Flutter APP";
  }
}